package com.molichuxing.gateway.bff.car.services;

import com.molichuxing.gateway.bff.car.entity.request.modify.WarnConfigModifyVo;
import com.molichuxing.gateway.bff.car.entity.response.WarnConfigVo;

import java.util.List;

/**
 * 预警 BFF
 *
 * @author zhaopenghui
 */
public interface WarnConfigBffService {

    /**
     * 预警列表
     *
     * @return
     */
    public List<WarnConfigVo> getWarnConfigList();

    /**
     * 编辑预警值
     *
     * @param list
     * @return
     * @throws Exception
     */
    Boolean modifyWarnConfig(List<WarnConfigModifyVo> list) throws Exception;


    /**
     * 编辑预警值
     *
     * @param warnConfigModifyVo
     * @return
     * @throws Exception
     */
    Boolean modifyWarnConfig(WarnConfigModifyVo warnConfigModifyVo) throws Exception;

}
